package com.gcxy.service;

import com.gcxy.dto.Fence.InsertDto;
import com.gcxy.dto.Fence.UpdateDto;
import com.gcxy.entity.Fence;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gcxy.utils.R;
import com.gcxy.vo.Fence.FenceVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wlp
 * @since 2023-12-19
 */
public interface FenceService extends IService<Fence> {

    R fenceInsert(InsertDto requestBody);

    R fencePage(FenceVo requestBody);

    R fenceUpdate(UpdateDto requestBody);

    R fenceUpdateState(Integer fenceId, Integer fenceState);
}
